﻿using System;

namespace Garfield.Presentation.View
{
    public class ViewPartNotFoundException : Exception
    {
        public string ViewPartId { get; private set; }

        public ViewPartNotFoundException(string viewPartId) : base(string.Format("View Part {0} not found", viewPartId))
        {
            ViewPartId = viewPartId;
        }
    }
}
